package constant;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-17
 * Time: 16:01
 */
public class constant {
    //存放Libary中书籍信息的文件名
    public static final String ALL_BOOK_FILE_NAME="allbooks.txt";
    //存放借阅书籍信息的文件名
    public static final String BORROW_BOOK_FILE_NAME="borrowbooks.txt";
    //Libary可存放书籍的默认容量
    public static final int DEFAULT_CAPACITY=5;
    //借阅书籍的最大容量
    public static final int BORROW_BOOK_MAX_NUM=5;

    //---------------------------管理员相关操作--------------------------------
    //查找图书
    public static final int SEARCH_BOOK=1;
    //显示图书
    public static final int DISPLAY_BOOK=2;
    //退出系统
    public static final int EXIT=3;
    //上架图书
    public static final int ADD_BOOK=4;
    //更新图书
    public static final int UPDATE_BOOK=5;
    //删除图书
    public static final int DELETE_BOOK=6;
    //查看书籍借阅次数
    public static final int BORROW_COUNT=7;
    //查看受欢迎的图书
    public static final int GENERATE_BOOK=8;
    //查看库存状态
    public static final int CHECK_STATUS=9;
    //移除上架超过1年的书籍
    public static final int REMOVE_OLD_BOOK=10;

    //---------------------------普通用户相关操作--------------------
    //借阅图书
    public static final int BORROW_BOOK=4;
    //归还图书
    public static final int RETURN_BOOK=5;
    //查看借阅情况
    public static final int VIEW_STATUS=6;
}
